package bean;

public class Users {
    private int useid;
    private String loginName;
    private String password;
    private String realname;
    private int usersex;
    private String useremail;
    private String userphone;
    private String useraddress;
    private String useridnumber;
    private String userintroduction;
    private int roleid;
    private Role role;
    public Users() {
    }

    public Users(int useid, String loginName, String password, String realname, int usersex,
                 String useremail, String userphone, String useraddress, String useridnumber,
                 String userintroduction, int roleid, Role role) {
        this.useid = useid;
        this.loginName = loginName;
        this.password = password;
        this.realname = realname;
        this.usersex = usersex;
        this.useremail = useremail;
        this.userphone = userphone;
        this.useraddress = useraddress;
        this.useridnumber = useridnumber;
        this.userintroduction = userintroduction;
        this.roleid = roleid;
        this.role = role;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public int getUsersex() {
        return usersex;
    }

    public void setUsersex(int usersex) {
        this.usersex = usersex;
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public String getUseraddress() {
        return useraddress;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress;
    }

    public String getUseridnumber() {
        return useridnumber;
    }

    public void setUseridnumber(String useridnumber) {
        this.useridnumber = useridnumber;
    }

    public String getUserintroduction() {
        return userintroduction;
    }

    public void setUserintroduction(String userintroduction) {
        this.userintroduction = userintroduction;
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    public int getUseid() {
        return useid;
    }

    public void setUseid(int useid) {
        this.useid = useid;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
}
